using UnityEngine;

//Encoding：UTF-8
public class Pai3d : MonoBehaviour
{
    public Pai3dScriptableObject pai3dConfig;
    public MeshRenderer meshRenderer;
    public int id;

    public void SetPaiType(int paiID)
    {
        id = paiID;
        meshRenderer.material = pai3dConfig.pai3dMat[paiID];
    }
}
